home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: lloyd@upsilon.cs.fsu.edu (Justin C Lloyd)
- Newsgroups: comp.lang.c.moderated,comp.lang.c
- Subject: ada-like naming scheme?
- Date: 24 Mar 1996 11:41:33 -0600
- Organization: FSU Computer Science Department
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4j41gd$nij@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Does anyone know how to do write a .c file so that you have to include the
- name of c file in any function calls, similar to ada?
-
- In ada, for instance:
-
- ada.text_io.get(x);
-
- means there is a collection of procedures named ada (a package), and in that
- one named text_io, and in the text_io collection, one called get.
-
- Maybe a way to do this by putting everything in a struct? For instance...
-
- float_sort.quicksort(float_array);
- integer_sort.quicksort(int_array);
- integer_sort.selection_sort(int_array);
-
- --JcL
-